<form class="layui-form" lay-filter="tpl_access_config{$access_config_id}" action="{:url('accessConfig/saveData')}">
	<input type="hidden" name="access_config_id" class="layui-input" />
	<div class="layui-form-item">
		<label class="layui-form-label">模块</label>
		<div class="layui-input-inline">
			<select name="module" lay-verify="required">
				<option value="">请选择</option>
				{for start="0" end="count($module_arr)"}
				<option value="{$module_arr[$i]}">{$module_arr[$i]}</option>
				{/for}
			</select>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">控制器</label>
		<div class="layui-input-inline">
			<input type="text" name="controller_name" lay-verify="required" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">功能</label>
		<div class="layui-input-inline">
			<input type="text" name="function_name" lay-verify="required" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">使用说明</label>
		<div class="layui-input-inline">
			<input type="text" name="use_intro" lay-verify="required" placeholder="请输入显示名称" autocomplete="off" class="layui-input">
		</div>
	</div>
	
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submit_access_config">保存数据</button>
			<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		</div>
	</div>
</form>
<script>
	// 赋值
	var access_config_id = "{$access_config_id}";
	var access_config_form_value = {$data};
</script>
<script src="/static/js/access_config/access_config_tpl.js" type="text/javascript" charset="utf-8"></script>
